package org.br.erp.base.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.hibernate.annotations.ColumnDefault;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 联系人
 * @Author: jeecg-boot
 * @Date:   2024-03-16
 * @Version: V1.0
 */
@ApiModel(value="scmpartnerlinkman对象", description="联系人")
@Data
@TableName("scmpartnerlinkman")
@Entity
public class Scmpartnerlinkman implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    @Id
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**联系人编号*/
	@Excel(name = "联系人编号", width = 15)
    @ApiModelProperty(value = "联系人编号")
    private java.lang.String linkmancode;
	/**联系人名称*/
	@Excel(name = "联系人名称", width = 15)
    @ApiModelProperty(value = "联系人名称")
    private java.lang.String linkmanname;
	/**职务*/
	@Excel(name = "职务", width = 15)
    @ApiModelProperty(value = "职务")
    private java.lang.String postby;
	/**工作电话*/
	@Excel(name = "工作电话", width = 15)
    @ApiModelProperty(value = "工作电话")
    private java.lang.String worktelno;
	/**移动电话*/
	@Excel(name = "移动电话", width = 15)
    @ApiModelProperty(value = "移动电话")
    private java.lang.String mobileno;
	/**默认*/
	@Excel(name = "默认", width = 15)
    @ApiModelProperty(value = "默认")
    private java.lang.String defaultflag;
	/**传真*/
	@Excel(name = "传真", width = 15)
    @ApiModelProperty(value = "传真")
    private java.lang.String faxno;
	/**邮箱*/
	@Excel(name = "邮箱", width = 15)
    @ApiModelProperty(value = "邮箱")
    private java.lang.String email;
	/**详细地址*/
	@Excel(name = "详细地址", width = 15)
    @ApiModelProperty(value = "详细地址")
    private java.lang.String detailaddress;
	/**禁用*/
	@Excel(name = "禁用", width = 15)
    @ApiModelProperty(value = "禁用")
    private java.lang.String enableflag;
	/**parentid*/
    @ApiModelProperty(value = "parentid")
    private java.lang.String parentid;


    @Column(length = 500)
    private java.lang.String personalhobby;


    @Column(length = 10)
    @ColumnDefault("'0'")
    private String linkmanflag;


    @Column(length = 10)
    @ColumnDefault("'0'")
    private String sjrflag;

}
